<table width="100%" border="0" cellpadding="1" cellspacing="0">
    <tr>
        <th colspan = "2">
            {$sitename}
        </th>
    </tr>
    {if $sitemenu.top != ""}
    <tr>
        <td colspan = "2" align="center" class="patroltoppane" valign="top">
            {eval var=$sitemenu.top}
        </td>
    </tr>
    {/if}
    <tr valign="top">
        {if $sitemenu.side != "" && $hidesidemenu != 1}
        <td width="15%" class="patrolsidepane" valign="top">
           <div align="center">{eval var=$sitemenu.side}</div>
        </td>
        {/if}
        <td {if $hidesidemenu == 1 || $sitemenu.side == ""}colspan="2"{/if} class="patrolcontentpane" width="90%">
            {if $sitecontent != ""}{eval var=$sitecontent}{/if}&nbsp;
        </td>
    </tr>
    {if $sitemenu.bottom != ""}
    <tr>
        <td colspan = "2" align="center" class="patrolbottompane">
            {eval var=$sitemenu.bottom}
        </td>
    </tr>
    {/if}
</table>
